{
  "properties" : { },
  "id" : "c9663bd0e2a343528b62cec3018b5fa6",
  "script" : null,
  "groupId" : "4c0c509172534572bbe1809900aeafa9",
  "name" : "根据mib父oid查询子列表",
  "createTime" : 1727071004774,
  "updateTime" : 1725324611258,
  "lock" : "1",
  "createBy" : "ndmp",
  "updateBy" : "ndmp",
  "path" : "listByParentOid",
  "method" : "GET",
  "parameters" : [ {
    "name" : "oid",
    "value" : "1.2",
    "description" : "",
    "required" : false,
    "dataType" : "String",
    "type" : "",
    "defaultValue" : "",
    "validateType" : "",
    "error" : "",
    "expression" : "",
    "children" : [ ]
  } ],
  "options" : [ ],
  "requestBody" : "",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"data\": [\n        {\n            \"id\": \"1655814226648788993\",\n            \"internal\": \"20\",\n            \"alias\": \"\",\n            \"name\": \"cn\",\n            \"oid\": \"1.2.156\",\n            \"parentOid\": \"1.2\",\n            \"baseType\": \"\",\n            \"status\": \"\",\n            \"access\": \"\",\n            \"kind\": \"node\",\n            \"module\": \"GB15629dot11-WAPI-MIB\",\n            \"description\": \"\",\n            \"classification\": \"\",\n            \"cron\": \"\"\n        },\n        {\n            \"id\": \"1655814222014083099\",\n            \"internal\": \"20\",\n            \"alias\": \"\",\n            \"name\": \"us\",\n            \"oid\": \"1.2.840\",\n            \"parentOid\": \"1.2\",\n            \"baseType\": \"\",\n            \"status\": \"\",\n            \"access\": \"\",\n            \"kind\": \"node\",\n            \"module\": \"IEEE802dot11-MIB\",\n            \"description\": \"\",\n            \"classification\": \"\",\n            \"cron\": \"\"\n        }\n    ]\n}",
  "description" : "",
  "requestBodyDefinition" : {
    "name" : null,
    "value" : null,
    "description" : null,
    "required" : false,
    "dataType" : "String",
    "type" : null,
    "defaultValue" : null,
    "validateType" : null,
    "error" : null,
    "expression" : null,
    "children" : null
  },
  "responseBodyDefinition" : {
    "name" : "",
    "value" : "",
    "description" : "",
    "required" : false,
    "dataType" : "Object",
    "type" : "",
    "defaultValue" : "",
    "validateType" : "",
    "error" : "",
    "expression" : "",
    "children" : [ {
      "name" : "status",
      "value" : "200",
      "description" : "",
      "required" : false,
      "dataType" : "Integer",
      "type" : "",
      "defaultValue" : "",
      "validateType" : "",
      "error" : "",
      "expression" : "",
      "children" : [ ]
    }, {
      "name" : "message",
      "value" : "success",
      "description" : "",
      "required" : false,
      "dataType" : "String",
      "type" : "",
      "defaultValue" : "",
      "validateType" : "",
      "error" : "",
      "expression" : "",
      "children" : [ ]
    }, {
      "name" : "data",
      "value" : "",
      "description" : "",
      "required" : false,
      "dataType" : "Object",
      "type" : "",
      "defaultValue" : "",
      "validateType" : "",
      "error" : "",
      "expression" : "",
      "children" : [ ]
    } ]
  }
}
================================
import org.apache.commons.lang.StringUtils;
if (StringUtils.isBlank(oid)) {
            Mib root = {"oid":"1","name":"iso","kind":"node"};

            return Collections.singletonList(root);
        }
return db.table('ndmp_mib').where().eq(StringUtils.isNotBlank(oid),'parentOid',oid).orderBy('oid','asc').select();